package com.yyi.springcloud.entities;

/**
 * 测试数据统计用VO
 * 
 * @Description:
 * @author 高杨
 * @date 2018年9月17日 上午9:01:11
 */
public class TestDataStatisticsVo {

	// 传感器名称
	private String sensorName;
	// 传感器编号
	private String sensorNo;
	// 最大值
	private Double max;
	// 最小值
	private Double min;
	// 平均值
	private Double average;
	// 积分平均值
	private Double integralMean;
	// 差值
	private Double difference;

	public TestDataStatisticsVo() {
	}

	public TestDataStatisticsVo(String sensorName, String sensorNo, Double max, Double min, Double average,
			Double integralMean, Double difference) {
		this.sensorName = sensorName;
		this.sensorNo = sensorNo;
		this.max = max;
		this.min = min;
		this.average = average;
		this.integralMean = integralMean;
		this.difference = difference;
	}

	public TestDataStatisticsVo(String sensorNo, Double max, Double min, Double average, Double integralMean,
			Double difference) {
		this.sensorNo = sensorNo;
		this.max = max;
		this.min = min;
		this.average = average;
		this.integralMean = integralMean;
		this.difference = difference;
	}

	public String getSensorName() {
		return sensorName;
	}

	public void setSensorName(String sensorName) {
		this.sensorName = sensorName;
	}

	public String getSensorNo() {
		return sensorNo;
	}

	public void setSensorNo(String sensorNo) {
		this.sensorNo = sensorNo;
	}

	public Double getMax() {
		return max;
	}

	public void setMax(Double max) {
		this.max = max;
	}

	public Double getMin() {
		return min;
	}

	public void setMin(Double min) {
		this.min = min;
	}

	public Double getAverage() {
		return average;
	}

	public void setAverage(Double average) {
		this.average = average;
	}

	public Double getIntegralMean() {
		return integralMean;
	}

	public void setIntegralMean(Double integralMean) {
		this.integralMean = integralMean;
	}

	public Double getDifference() {
		return difference;
	}

	public void setDifference(Double difference) {
		this.difference = difference;
	}

	@Override
	public String toString() {
		return "TestDataStatisticsVo [sensorName=" + sensorName + ", sensorNo=" + sensorNo + ", max=" + max + ", min="
				+ min + ", average=" + average + ", integralMean=" + integralMean + ", difference=" + difference + "]";
	}

}
